package org.gushi.datastruct.a05;

public class DequeMainTest {

    public static void main(String[] args) {

        CircleDeque circleDeque = new CircleDeque();
        circleDeque.enQueueFront(1);
        circleDeque.enQueueRear(1);
        circleDeque.enQueueFront(2);
        circleDeque.enQueueRear(2);
        circleDeque.enQueueFront(3);
        circleDeque.enQueueRear(3);

        for (int i = 0;i<3;i++){
            System.out.println(circleDeque.deQueueFront());
            System.out.println(circleDeque.deQueueRear());
        }


    }

}
